package com.chinags.system.testingfacility.domain;

import com.chinags.common.annotation.Excel;
import com.chinags.common.core.domain.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 检测机构从业人员表 t_jc_jcjg_cyry
 * 
 * @author liut
 * @date 2019-06-20
 */
public class TJcJcjgCyry extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** id */
	private Long jcjgCyryId;
	/** 检测机构id */
	@Excel(name = "社会统一信用代码")
	private String jcjgId;
	/** 检测机构名称 */
	@Excel(name = "检测机构名称")
	private String agencyName;
	/** 姓名 */
	@Excel(name = "姓名")
	private String name;
	/** 性别 */
	@Excel(name = "性别", readConverterExp = "0=女,1=男")
	private Integer sex;
	/** 身份证号 */
	@Excel(name = "身份证号")
	private String identityNumber;
	/** 专业 */
	@Excel(name = "专业")
	private String profession;
	/** 学历 */
	@Excel(name = "学历")
	private String education;
	/** 职称 */
	private String jobTilte;
	/** 从事防雷装检测测工作时间 */
	@JsonFormat(pattern = "yyyy-MM-dd")
	private Date workTimeStart;
	/** 是否有能力评价证书（0否，1是） */
	private Integer evaluationCertificateStatus;
	/** 能力评价证书编号 */
	private String evaluationCertificateCode;
	/** 发放单位 */
	private String lssuingUnit;
	/** 发放日期 */
	@JsonFormat(pattern = "yyyy-MM-dd")
	private Date lssuingDate;
	/** 有效期起 */
	private Date validityPeriodStart;
	/** 有效期止 */
	@JsonFormat(pattern = "yyyy-MM-dd")
	private Date validityPeriodEnd;
	/** 有效期止 */
	@JsonFormat(pattern = "yyyy-MM-dd")
	private Date startTime;
	/** 有效期止 */
	@JsonFormat(pattern = "yyyy-MM-dd")
	private Date endTime;
	/** 备注 */
	private String remarks;
	/** 创建人ID */
	private Long createUser;
	/** 操作人 */
	private Long updateUser;

	public void setJcjgCyryId(Long jcjgCyryId) 
	{
		this.jcjgCyryId = jcjgCyryId;
	}

	public Long getJcjgCyryId() 
	{
		return jcjgCyryId;
	}
	public void setJcjgId(String jcjgId)
	{
		this.jcjgId = jcjgId;
	}

	public String getJcjgId()
	{
		return jcjgId;
	}
	public void setName(String name) 
	{
		this.name = name;
	}

	public String getName() 
	{
		return name;
	}
	public void setSex(Integer sex) 
	{
		this.sex = sex;
	}

	public Integer getSex() 
	{
		return sex;
	}
	public void setIdentityNumber(String identityNumber) 
	{
		this.identityNumber = identityNumber;
	}

	public String getIdentityNumber() 
	{
		return identityNumber;
	}
	public void setProfession(String profession) 
	{
		this.profession = profession;
	}

	public String getProfession() 
	{
		return profession;
	}
	public void setEducation(String education) 
	{
		this.education = education;
	}

	public String getEducation() 
	{
		return education;
	}
	public void setJobTilte(String jobTilte) 
	{
		this.jobTilte = jobTilte;
	}

	public String getJobTilte() 
	{
		return jobTilte;
	}
	public void setWorkTimeStart(Date workTimeStart) 
	{
		this.workTimeStart = workTimeStart;
	}

	public Date getWorkTimeStart() 
	{
		return workTimeStart;
	}
	public void setEvaluationCertificateStatus(Integer evaluationCertificateStatus) 
	{
		this.evaluationCertificateStatus = evaluationCertificateStatus;
	}

	public Integer getEvaluationCertificateStatus() 
	{
		return evaluationCertificateStatus;
	}
	public void setEvaluationCertificateCode(String evaluationCertificateCode) 
	{
		this.evaluationCertificateCode = evaluationCertificateCode;
	}

	public String getEvaluationCertificateCode() 
	{
		return evaluationCertificateCode;
	}
	public void setLssuingUnit(String lssuingUnit) 
	{
		this.lssuingUnit = lssuingUnit;
	}

	public String getLssuingUnit() 
	{
		return lssuingUnit;
	}
	public void setLssuingDate(Date lssuingDate) 
	{
		this.lssuingDate = lssuingDate;
	}

	public Date getLssuingDate() 
	{
		return lssuingDate;
	}
	public void setValidityPeriodStart(Date validityPeriodStart) 
	{
		this.validityPeriodStart = validityPeriodStart;
	}

	public Date getValidityPeriodStart() 
	{
		return validityPeriodStart;
	}
	public void setValidityPeriodEnd(Date validityPeriodEnd) 
	{
		this.validityPeriodEnd = validityPeriodEnd;
	}

	public Date getValidityPeriodEnd() 
	{
		return validityPeriodEnd;
	}
	public void setRemarks(String remarks) 
	{
		this.remarks = remarks;
	}

	public String getRemarks() 
	{
		return remarks;
	}
	public void setCreateUser(Long createUser) 
	{
		this.createUser = createUser;
	}

	public Long getCreateUser() 
	{
		return createUser;
	}
	public void setUpdateUser(Long updateUser) 
	{
		this.updateUser = updateUser;
	}

	public Long getUpdateUser() 
	{
		return updateUser;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("jcjgCyryId", getJcjgCyryId())
            .append("jcjgId", getJcjgId())
            .append("name", getName())
            .append("agencyName", getAgencyName())
            .append("sex", getSex())
            .append("identityNumber", getIdentityNumber())
            .append("profession", getProfession())
            .append("education", getEducation())
            .append("jobTilte", getJobTilte())
            .append("workTimeStart", getWorkTimeStart())
            .append("evaluationCertificateStatus", getEvaluationCertificateStatus())
            .append("evaluationCertificateCode", getEvaluationCertificateCode())
            .append("lssuingUnit", getLssuingUnit())
            .append("lssuingDate", getLssuingDate())
            .append("validityPeriodStart", getValidityPeriodStart())
            .append("validityPeriodEnd", getValidityPeriodEnd())
            .append("startTime", getStartTime())
            .append("endTime", getEndTime())
            .append("remarks", getRemarks())
            .append("createUser", getCreateUser())
            .append("createTime", getCreateTime())
            .append("updateUser", getUpdateUser())
            .append("updateTime", getUpdateTime())
            .toString();
    }

	public String getAgencyName() {
		return agencyName;
	}

	public void setAgencyName(String agencyName) {
		this.agencyName = agencyName;
	}

	public Date getEndTime() {
		return endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

	public Date getStartTime() {
		return startTime;
	}

	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}
}
